Save a form with the item (one-off forms)

When you are creating solutions using custom forms in Microsoft Outlook, it is important to understand how Outlook is using your custom form in relation to the items in a folder.

For instance, if you want to create a custom contact form to replace the default Outlook contact form, you would typically follow these steps:

  1. Start with a new, default contact item to use as the basis for your custom form.
  2. Modify the form to suit your needs.
  3. Publish the form to the Contacts folder.
  4. Set the form as the default form for the Contacts folder by changing the folder properties.

In this typical scenario, information about the form (the form definition) is not saved with each item. Instead, the form is stored in the location where it was published and is referenced using the Message Class field. This way, each item only stores the data associated with it, and its size is relatively small.

However, it is possible to have Outlook store the form definition within individual items in a folder. These items are called one-off items and will always use the form definition that is stored within the item instead of the published form.

In most situations, the form definition should not be stored within the item. The most common exception to this is a custom e-mail message form. If you are using Microsoft Exchange Server, you can publish a custom e-mail message form to the Organizational Forms Library so that it will always be available for use by everyone within the organization. In this way, you would not have to store the form definition within the item. However, if you are not using Exchange server, or if you are sending the form to another organization where the form is not available, you should select the Send form definition with item check box on the Properties page of the form when in design mode. This will ensure that the recipient will be able to view the mail message with the custom form.

Note  If the recipient is still unable to view your custom form, be sure that you customized or disabled the Read page of the custom e-mail form.

If the custom form contains Microsoft Visual Basic Scripting Edition (VBScript), Outlook will display the macro virus warning unless the form is published in the Microsoft Exchange Server Organizational Forms Library.

The following scenarios commonly result in items becoming one-off items.

Although solutions and situations vary greatly, there are some signs you should be aware of that can indicate that an item has become a one-off item.